//判断设备是否为移动设备
export  function getDevice(){
  // if (document.body.clientWidth<992)
  // return true
  return /Android|iPhone|iPad|iPod|BlackBerry|webOS|Windows Phone|SymbianOS|IEMobile|Opera Mini/i.test(navigator.userAgent);
}
